package cn.org.donald.framework.constant;

/**
 * @author ： Donald
 * @date ： 2020/10/21 19:12
 * @description：
 */
public class TableConstant {

    /**超级管理员角色名称*/
    public static final String VALUE_ADMIN_NAME = "admin";

    /**超级管理员用户名称*/
    public static final String VALUE_ADMIN_USER_NAME = "root";

    /**超级管理员id*/
    public static final Long VALUE_ADMIN_USER_ID = 6L;

    /**新增时间属性名称*/
    public static final String FIELD_GMT_CREATED = "gmtCreated";

    /**新增时间字段名称*/
    public static final String COLUMN_GMT_CREATED = "gmt_created";

    /**更新时间属性名称*/
    public static final String FIELD_GMT_MODIFIED = "gmtModified";

    /**更新时间字段名称*/
    public static final String COLUMN_GMT_MODIFIED = "gmt_modified";

    /**更新人属性名称*/
    public static final String FIELD_MODIFIED_BY = "modifiedBy";

    /**更新人字段名称*/
    public static final String COLUMN_MODIFIED_BY = "modified_by";

    /**新增人属性名称*/
    public static final String FIELD_CREATED_BY = "createdBy";

    /**新增人字段名称*/
    public static final String COLUMN_CREATE_BY = "created_by";

    /**乐观锁版本字段名称*/
    public static final String COLUMN_VERSION = "version";

    /**逻辑删除字段名称*/
    public static final String COLUMN_DELETED = "deleted";

    /**逻辑删除字段名称*/
    public static final String COLUMN_CREATOR = "creator";

    /**逻辑删除字段名称*/
    public static final String COLUMN_MODIFIER = "modifier";

    /**逻辑删除属性名称*/
    public static final String FIELD_CREATOR = "creator";

    /**逻辑删除属性名称*/
    public static final String FIELD_MODIFIER = "modifier";

    /**用户名属性名称*/
    public static final String FIELD_USER_NAME = "userName";

    /**用户ID属性名称*/
    public static final String FIELD_USER_ID = "userId";
}
